package com.training.food.Domain;

import org.springframework.stereotype.Component;

@Component
public class StatisticsDomain {
   String type;
   int value;

    @Override
    public String toString() {
        return "StatisticsDomain{" +
                "type='" + type + '\'' +
                ", value=" + value +
                '}';
    }

    public String getType() {
        return type;
    }

    public StatisticsDomain setType(String type) {
        this.type = type;
        return this;
    }

    public int getValue() {
        return value;
    }

    public StatisticsDomain setValue(int value) {
        this.value = value;
        return this;
    }
}
